#ifndef QTROBOTTURNANIMATION_H
#define QTROBOTTURNANIMATION_H

#include "QtRobotSprite.h"
#include "Direction.h"
#include "QtAnimationCommand.h"

class QtRobotTurnAnimation: public QtAnimationCommand
{
public:
	QtRobotTurnAnimation();
	QtRobotTurnAnimation(const QtRobotTurnAnimation& rhs);
	virtual ~QtRobotTurnAnimation();

	void SetRobot(QtRobotSprite* receiver, const Direction& direction);
	void Execute();
	QtAnimationCommand* Clone() const;
	
protected:
private:
	QtRobotSprite* robot;
	Direction turnDirection;
};

#endif //QTROBOTTURNANIMATION_H
